package com.ssy.lingxi.platform.template.service.model.dto.web;

import com.ssy.lingxi.platform.template.service.model.bo.AreaBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 保存会员自营门户 - DTO
 * @author fhj
 * @date 2021/10/18
 * @version 2.0.0
 */
@Data
public class SaveSelfDTO {

    @NotEmpty(message = "地市不能为空")
    @ApiModelProperty(value = "地市")
    private List<AreaBO> memberShopAreas;

    @NotBlank(message = "公司简介不能为空")
    @ApiModelProperty(value = "公司简介")
    private String describe;

    @ApiModelProperty(value = "厂房照片")
    private String[] workshopPics;

    @ApiModelProperty(value = "资质荣誉")
    private String[] honorPics;

    @ApiModelProperty(value = "宣传画册名称")
    private String albumName;

    @ApiModelProperty(value = "宣传画册地址")
    private String albumUrl;

    @ApiModelProperty(value = "商城ID")
    private Long shopId;

    @ApiModelProperty(value = "商城链接")
    private String url;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "详细地址")
    private String address;
}
